package com.yu.Service;

import com.yu.POJO.Course;
import com.yu.POJO.Sc;
import com.yu.POJO.Student;
import com.yu.tool.MyJson;
import com.yu.tool.pageTool;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LittleFisher
 * @Date: 2021/05/23/16:28
 * @Description:
 */
public interface StuService {
    public Student findStuBySno(String sno);

    public Student findStuByID(int id);

    public MyJson stuLogin(String sno,String password);

    public int updateStu(Student stu);

    public List<Course> getStuCourses(int id);

    public pageTool getSelectCourse(int page, int rows, String c_type);

    public MyJson joinSelectCourse(int course_id,int stu_id);

    public MyJson stuUpPass(int id,String old,String newp);

    public List<Sc> getStuSc(int id);

}
